package Model.InboxMessages;

import java.util.Date;

import Model.User;

public class SimpleMessage {

	String msg;
	String from;
	Date msgTime;
	int msgNum;
	
	public SimpleMessage(String msg,int fromID, Date time,int msgNum)
	{
		this.msg = msg;
		this.from= User.getName(fromID);
		this.msgTime = time;
		this.msgNum = msgNum;
	}
	public String getMsg()
	{
		return msg;
	}
	public String getFrom()
	{
		return from;
	}
	public Date getTime()
	{
		return msgTime;
	}
	public int getMsgNum()
	{
		return msgNum;
	}
}
